<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
      <head>
            <title><?php the_title(); ?> &laquo; <?php site_name(); ?></title>
            <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
            <link rel="stylesheet" type="text/css" href="<?php theme_path(); ?>/iphone.css" />                  
            <script type="text/javascript" src="<?php theme_path(); ?>/js/jquery.js"></script>
            <script type="text/javascript" src="<?php theme_path(); ?>/js/json2.js"></script>
            <script type="text/javascript" src="<?php theme_path(); ?>/js/+core.js"></script>
            <script type="text/javascript">
            $(document).ready( function () {
                  Core.local.insertEvents();
                  });

            });
            </script>
      </head>
      <body>
            <div id="header">
                  <h1>+Core</h1>
                  <?php if (!is_section('index')) { ?><a href="<?php site_url(); ?>" class="nav" id="backButton">Back</a><?php } ?>
            </div>
            <ul>
                  <li><a href="query"<?php if (is_section('query')) { ?> class="the-chosen-one"<?php } ?>>
                        Query
                  </a></li>
                  <li><a href="objects"<?php if (is_section('objects')) { ?> class="the-chosen-one"<?php } ?>>
                        Objects
                  </a></li>
                  <li><a href="function-testing"<?php if (is_section('function-testing')) { ?> class="the-chosen-one"<?php } ?>>
                        Function Testing
                  </a></li>                  
                  
            </ul>
            <div id="wrap"> 